package ooday02.demo.practice02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog zs=new Dog("蔡徐坤",1,"黑色");
        zs.eat();
        zs.lookHome();
        zs.dirck();
        zs.play();
        System.out.println();
        Chick ck=new Chick("吴亦凡",1,"黄色");
        ck.eat();
        ck.dirck();
        ck.layEgg();
        System.out.println();
        Fish lyf=new Fish("李易峰",1,"红色");
        lyf.eat();
        lyf.dirck();
    }
}
